﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dazhuanpan.aspx.cs" Inherits="weikebuluo.web.wechat.dazhuanpan.dazhuanpan" %>

<!DOCTYPE html>
<html>
<head>
    <title><%=dzpmodel.dzp_title%></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="description" content="IdeaSoft软件" />
    <link href="Js/Activity-Rotor.css" rel="stylesheet" type="text/css" />
    
</head>
<body class="activity-lottery-winning">
<div class="main">
    <div id="outercont">
        <div id="outer-cont">
            <div id="outer"><img src="img/2.png" width="310px"></div>
        </div>
        <div id="inner-cont">
            <div id="inner"><img src="img/1.png" id="lotteryBtn"></div>
        </div>
    </div>
<div class="content">
    <div id="result" style="display:none">
        <div class="box">
            <div class="title-orange"><span>领奖信息</span></div>
            <div class="Detail">
                <p><span class="red" id="prizetype">信息错误或者不填中奖无效</span></p>
                <p><input name="uname" class="px" id="uname" type="text" placeholder="输入您的姓名"/></p>
                <p><input name="umobile" class="px" id="umobile" type="text" placeholder="输入您的手机号码"/></p>
                <p><input class="pxbtn" id="save-btn" name="提 交" type="button" value="提 交"/></p>
            </div>
        </div>
    </div>
   
   
    <div class="boxcontent boxyellow">
        <div class="box">
            <div class="title-red">中奖信息：</div>
            <div class="Detail">
                <%if (dzplog1.Rows.Count > 0)
                  {%>
                <p>中奖情况：<%=dzplog1.Rows[0]["dzplog_award"]%></p>
                <%}
                  else
                  { %>
                  <p>您还未中奖或未抽奖！</p><%} %>
            
            </div>
        </div>
    </div>
    
    <div class="boxcontent boxyellow">
        <div class="box">
            <div class="title-green"><span>奖项设置：</span></div>
            <div class="Detail">
                
                    <p>一等奖：<%=dzpmodel.dzp_jx1%>
                    
                        奖品数量：<%=dzpmodel.dzp_num1%>
                    </p>
                     <p>二等奖：<%=dzpmodel.dzp_jx2%>
                    
                        奖品数量：<%=dzpmodel.dzp_num2%>
                    </p>
                     <p>三等奖：<%=dzpmodel.dzp_jx3%>
                    
                        奖品数量：<%=dzpmodel.dzp_num3%>
                    </p>
               
            </div>
        </div>
    </div>
    <div class="boxcontent boxyellow">
        <div class="box">
            <div class="title-green">活动说明：</div>
            <div class="Detail"><%=dzpmodel.dzp_content %></div>
        </div>
    </div>

    <div class="boxcontent boxyellow">
        <div class="box" style="text-align: center">
            技术支持&copy;<a href="http://www.weikebuluo.com/phone/home?mid=3&wxref=mp.weixin.qq.com">IdeaSoft软件</a></div>
    </div>
</div>

</div>
<script src="/Scripts/JQuery.min.js" type="text/javascript"></script>
<script src="/scripts/Su.common.js" type="text/javascript"></script>
    <script src="Js/jQueryRotate.2.2.js" type="text/javascript"></script>
    <script src="Js/jquery.easing.min.js" type="text/javascript"></script>
    <script src="/Scripts/JQuery.params.js" type="text/javascript"></script>
    <script src="Js/index.js?v=2" type="text/javascript"></script>

<style>
.masklayer{position:fixed;display:none;top:0;left:0;z-index:2000;width:100%;height:100%;background-color:rgba(0,0,0,0.5);text-align:right;}
.masklayer.on{display:none;}
.masklayer img{margin-top:10px;margin-right:30px;width:260px;}
</style>
<div class="masklayer">
<img src="img/instruction.png" />
</div>
<script type="text/javascript">
var url=window.location.href;
if(url.indexOf("is_share")>0)
{
   $('.masklayer').show();
   
}
 document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
        window.shareData = {  
            "imgUrl": "$chassisurl", 
            "timeLineLink": location.href+"&is_share=1",
            "sendFriendLink": location.href+"&is_share=1",
            "weiboLink": location.href+"&is_share=1",
            "weiboLink": location,
            "tTitle": "$ai_title",
            "tContent": "$ai_intro",
            "fTitle": "$ai_title",
            "fContent": "$ai_intro",
            "wContent": "$ai_intro"
        };
        // 发送给好友
        WeixinJSBridge.on('menu:share:appmessage', function (argv) {
            WeixinJSBridge.invoke('sendAppMessage', { 
                "img_url": window.shareData.imgUrl,
                "img_width": "640",
                "img_height": "640",
                "link": window.shareData.sendFriendLink,
                "desc": window.shareData.fContent,
                "title": window.shareData.fTitle
            }, function (res) {
                _report('send_msg', res.err_msg);
            })
        });

        // 分享到朋友圈
        WeixinJSBridge.on('menu:share:timeline', function (argv) {
            WeixinJSBridge.invoke('shareTimeline', {
                "img_url": window.shareData.imgUrl,
                "img_width": "640",
                "img_height": "640",
                "link": window.shareData.timeLineLink,
                "desc": window.shareData.tContent,
                "title": window.shareData.tTitle
            }, function (res) {
                _report('timeline', res.err_msg);
            });
        });

        // 分享到微博
        WeixinJSBridge.on('menu:share:weibo', function (argv) {
            WeixinJSBridge.invoke('shareWeibo', {
                "content": window.shareData.wContent,
                "url": window.shareData.weiboLink,
            }, function (res) {
                _report('weibo', res.err_msg);
            });
        });
        }, false)
</script>
</body>
</html>